﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.SceneManagement;

public class GameMeumController : MonoBehaviour
{

    public GameObject meumPanel;
    public GameObject operationPanel;
    public GameObject diffcultyPanel;
    public GameObject characterSelectPanel;
    public Color operationPanelColor;

    public void OnMeumPlay()
    {
        meumPanel.SetActive(false);
        operationPanel.SetActive(true);
    }

    public void OnOperationPlay()
    {
        operationPanel.GetComponent<UISprite>().color = operationPanelColor;
        diffcultyPanel.SetActive(true);
    }

    public void OnDiffcultyPanel()
    {
        operationPanel.SetActive(false);
        diffcultyPanel.SetActive(false);
        characterSelectPanel.SetActive(true);
    }

    public void OnCharacterSelect()
    {
        //TODO :跳转界面
        SceneManager.LoadScene("");
    }

}
